<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .zong {
            width: 300px;
            border: 3px dashed black;
        }

        .shang div {
            text-align: center;
        }

        .xia {
            text-align: center;
            border-top: 3px solid black;
            padding: 10px;
        }
    </style>
</head>

<body>
    <div class="zong">
        <div class="shang">
            <div class="zhan">网站名(key): <input type="text"></div>
            <div class="zhi">网 址(value): <input type="text"></div>
            <div><button class="cun">新增记录</button></div>
        </div>
        <div class="xia">
            <div>输入网站名: <input type="text"></div>
            <div><button class="qu">查找网站</button></div>
        </div>
        <table></table>
    </div>
</body>
<script>
    document.getElementsByClassName('cun')[0].onclick = function () {
    }
    document.getElementsByClassName('qu')[0].onclick = function () {

    }
</script>

</html>